github.com/refraction-networking/utls.constantTimeHash.Sum (method)

93 uses

	github.com/refraction-networking/utls (current package)
		auth.go#L86: 		b.Write(transcript.Sum(nil))
		auth.go#L92: 	h.Write(transcript.Sum(nil))
		auth.go#L93: 	return h.Sum(nil)
		cipher_suites.go#L620: 	res := h.Sum(out)
		handshake_client_tls13.go#L109: 			confTranscript.Sum(nil),
		handshake_client_tls13.go#L258: 	chHash := hs.transcript.Sum(nil)
		handshake_client_tls13.go#L269: 		chHash = hs.echContext.innerTranscript.Sum(nil)
		handshake_client_tls13.go#L288: 				confTranscript.Sum(nil),
		handshake_server_tls13.go#L554: 	chHash := hs.transcript.Sum(nil)
		handshake_server_tls13.go#L579: 			confTranscript.Sum(nil),
		handshake_server_tls13.go#L742: 			echTranscript.Sum(nil),
		key_agreement.go#L112: 	return hsha1.Sum(nil)
		key_agreement.go#L123: 	copy(md5sha1, hmd5.Sum(nil))
		key_agreement.go#L145: 		digest := h.Sum(nil)
		key_schedule.go#L40: 	verifyData.Write(transcript.Sum(nil))
		key_schedule.go#L41: 	return verifyData.Sum(nil)
		prf.go#L34: 	a := h.Sum(nil)
		prf.go#L41: 		b := h.Sum(nil)
		prf.go#L47: 		a = h.Sum(nil)
		prf.go#L205: 		return h.client.Sum(nil)
		prf.go#L209: 	out = h.clientMD5.Sum(out)
		prf.go#L210: 	return h.client.Sum(out)
		prf.go#L239: 		return hash.Sum(nil)
		prf.go#L243: 		return h.server.Sum(nil)
		ticket.go#L343: 	mac.Sum(macBytes[:0])
		ticket.go#L378: 		expected := mac.Sum(nil)
		u_key_schedule.go#L26: 	h.Write(ch.Sum(nil))

	github.com/refraction-networking/utls/internal/tls12
		tls12.go#L28: 	a := h.Sum(nil)
		tls12.go#L34: 		b := h.Sum(nil)
		tls12.go#L40: 		a = h.Sum(nil)

	github.com/refraction-networking/utls/internal/tls13
		tls13.go#L54: 	return ExpandLabel(hash, secret, label, transcript.Sum(nil), transcript.Size())
		tls13.go#L174: 	return ExpandLabel(s.hash, secret, "exporter", h.Sum(nil), length)

	github.com/coder/websocket
		accept.go#L377: 	return base64.StdEncoding.EncodeToString(h.Sum(nil))

	github.com/gotd/td/crypto
		keys.go#L45: 	return h.Sum(r)
		keys.go#L64: 	return h.Sum(r)
		keys.go#L76: 	return h.Sum(r)
		keys_old.go#L18: 	return h.Sum(r)
		keys_old.go#L31: 	return h.Sum(r)
		keys_old.go#L43: 	return h.Sum(r)
		keys_old.go#L55: 	return h.Sum(r)
		rsa_fingerprint.go#L25: 	result := h.Sum(nil)[12:sha1.Size]
		rsa_pad.go#L72: 			dataWithHash = h.Sum(dataWithHash)
		rsa_pad.go#L155: 		if !bytes.Equal(hash, h.Sum(nil)) {
		sha256.go#L16: 	return h.Sum(nil)

	github.com/gotd/td/crypto/srp
		hash.go#L92: 	return h.Sum(nil)

	github.com/gotd/td/mtproxy/faketls
		client_hello.go#L95: 	copy(random, mac.Sum(nil))
		server_hello.go#L83: 	if !bytes.Equal(mac.Sum(nil), originalDigest[:]) {

	github.com/gotd/td/session/tdesktop
		file.go#L137: 	h.Sum(r[:0])
		local_key.go#L42: 	key := pbkdf2.Key(h.Sum(nil), salt, iters, len(r), sha512.New)

	crypto
		crypto.go#L252: 		msg = h.Sum(nil)

	crypto/internal/fips140/hmac
		hmac.go#L61: 	in = h.inner.Sum(in)
		hmac.go#L72: 	return h.outer.Sum(in[:origLen])
		hmac.go#L191: 		key = hm.outer.Sum(nil)

	crypto/internal/fips140/rsa
		pkcs1v22.go#L62: 		digest = hash.Sum(digest[:0])
		pkcs1v22.go#L118: 	h = hash.Sum(h[:0])
		pkcs1v22.go#L244: 	h0 := hash.Sum(nil)
		pkcs1v22.go#L395: 	lHash := hash.Sum(nil)
		pkcs1v22.go#L434: 	lHash := hash.Sum(nil)

	crypto/internal/fips140/tls13
		tls13.go#L53: 	return ExpandLabel(hash, secret, label, transcript.Sum(nil), transcript.Size())
		tls13.go#L173: 	return ExpandLabel(s.hash, secret, "exporter", h.Sum(nil), length)

	crypto/sha256
		sha256.go#L60: 	h.Sum(sum[:0])
		sha256.go#L72: 	h.Sum(sum[:0])

	crypto/sha512
		sha512.go#L91: 	h.Sum(sum[:0])
		sha512.go#L103: 	h.Sum(sum[:0])
		sha512.go#L112: 	h.Sum(sum[:0])
		sha512.go#L121: 	h.Sum(sum[:0])

	crypto/tls
		auth.go#L26: 		signed = h.Sum(nil)
		auth.go#L117: 	b.Write(transcript.Sum(nil))
		cipher_suites.go#L619: 	res := h.Sum(out)
		handshake_client_tls13.go#L98: 		acceptConfirmation := tls13.ExpandLabel(h, prk, "ech accept confirmation", confTranscript.Sum(nil), 8)
		handshake_client_tls13.go#L240: 	chHash := hs.transcript.Sum(nil)
		handshake_client_tls13.go#L251: 		chHash = hs.echContext.innerTranscript.Sum(nil)
		handshake_client_tls13.go#L273: 			acceptConfirmation := tls13.ExpandLabel(h, prk, "hrr ech accept confirmation", confTranscript.Sum(nil), 8)
		handshake_server_tls13.go#L538: 	chHash := hs.transcript.Sum(nil)
		handshake_server_tls13.go#L566: 		acceptConfirmation := tls13.ExpandLabel(h, prf, "hrr ech accept confirmation", confTranscript.Sum(nil), 8)
		handshake_server_tls13.go#L730: 		acceptConfirmation := tls13.ExpandLabel(h, prk, "ech accept confirmation", echTranscript.Sum(nil), 8)
		key_agreement.go#L113: 	return hsha1.Sum(nil)
		key_agreement.go#L124: 	copy(md5sha1, hmd5.Sum(nil))
		key_schedule.go#L41: 	verifyData.Write(transcript.Sum(nil))
		key_schedule.go#L42: 	return verifyData.Sum(nil)
		prf.go#L33: 	a := h.Sum(nil)
		prf.go#L40: 		b := h.Sum(nil)
		prf.go#L46: 		a = h.Sum(nil)
		prf.go#L204: 		return h.client.Sum(nil)
		prf.go#L208: 	out = h.clientMD5.Sum(out)
		prf.go#L209: 	return h.client.Sum(out)
		prf.go#L228: 		return h.server.Sum(nil)
		ticket.go#L348: 	mac.Sum(macBytes[:0])
		ticket.go#L383: 		expected := mac.Sum(nil)

	crypto/x509
		pem_decrypt.go#L92: 		digest = hash.Sum(digest[:0])
		x509.go#L1011: 		signed = h.Sum(nil)

	golang.org/x/crypto/hkdf
		hkdf.go#L70: 		f.prev = f.expander.Sum(f.prev[:0])

	hash
		hash.go#L33: 	Sum(b []byte) []byte